#include "Avalon/UidService/UidClientChannel.hpp"

using namespace Avalon;
using namespace Avalon::IO;
using namespace Avalon::Threading;
using namespace Avalon::UidService;

UidClientChannel::UidClientChannel(Channel* channel,
    ThreadPool& threadPool)
    : ClientChannelMixin(threadPool),
      m_channel(channel) {}

UidClientChannel::~UidClientChannel() {}

Connection& UidClientChannel::GetConnection() {
  return m_channel->GetConnection();
}

Reader& UidClientChannel::GetReader() {
  return m_channel->GetReader();
}

Writer& UidClientChannel::GetWriter() {
  return m_channel->GetWriter();
}
